package com.qf.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @date 2022/3/15
 * @desc
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {

    private Integer id;
    private String name;
    private String sex;
    private Date birthday;
    private String phone;
    private String address;
    private String hobby;

    public Student(String name, String sex, Date birthday, String phone, String address, String hobby) {
        this.name = name;
        this.sex = sex;
        this.birthday = birthday;
        this.phone = phone;
        this.address = address;
        this.hobby = hobby;
    }
}
